package com.neuedu.yyzx.common;

/**
 * Created with IntelliJ IDEA.
 *
 * @author dya
 * Date: 2021/4/26
 * Time: 14:27
 * To change this template use File | Settings | File Templates.
 * Description: TODO
 */
import lombok.Getter;

@Getter
public enum ResultCode {
    NOHANDLER(404,"请求地址错误"),
    SUCCESS(200,"操作成功"),
    FAILED(500,"操作失败"),
    NOTOKEN(401,"未登录或登录已超时"),
    NOPERMISS(403,"无操作权限"),
    ;

    private Integer code;
    private String message;

    ResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }



}
